networking.wireguard.interfaces.<name>.peers.*.presharedKeyFile

File pointing to preshared key as generated by wg genpsk. Optional, and may be omitted. This option adds an additional layer of symmetric-key cryptography to be mixed into the already existing public-key cryptography, for post-quantum resistance.

Type
null or string
Default
null
Example
"/private/wireguard_psk"
Declared
<nixpkgs/nixos/modules/services/networking/wireguard.nix>